package com.imc.platform.base.pay.http.tuple;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by tanweiping on 2018/9/29.
 */
@Data
@XStreamAlias("xml")
@AllArgsConstructor
@NoArgsConstructor
public class NotifyDto {
    /*
    <xml><appid><![CDATA[wxcac3896371129ae1]]></appid>
                <attach><![CDATA[桃李舞苑]]></attach>
                <bank_type><![CDATA[CFT]]></bank_type>
                <cash_fee><![CDATA[1]]></cash_fee>
                <fee_type><![CDATA[CNY]]></fee_type>
                <is_subscribe><![CDATA[N]]></is_subscribe>
                <mch_id><![CDATA[1513423541]]></mch_id>
                <nonce_str><![CDATA[f8a69144-5ba4-40]]></nonce_str>
                <openid><![CDATA[odJAr5GiA5kEss7ZlwQtCCqzN0Po]]></openid>
                <out_trade_no><![CDATA[1538200815093]]></out_trade_no>
                <result_code><![CDATA[SUCCESS]]></result_code>
                <return_code><![CDATA[SUCCESS]]></return_code>
                <sign><![CDATA[73CCA0D6090958366E46586653A1F251]]></sign>
                <time_end><![CDATA[20180929140037]]></time_end>
                <total_fee>1</total_fee>
                <trade_type><![CDATA[JSAPI]]></trade_type>
                <transaction_id><![CDATA[4200000192201809291017913628]]></transaction_id>
            </xml>
     */
    private String appid;
    private String attach;
    private String bank_type;
    private String cash_fee;
    private String fee_type;
    private String is_subscribe;
    private String mch_id;
    private String nonce_str;
    private String openid;
    private String result_code;
    private String return_code;
    private String sign;
    private String time_end;
    private String out_trade_no;
    private String total_fee;
    private String trade_type;
    private String transaction_id;

}
